* {
  font-family: Roboto, "Helvetica Neue", sans-serif;
}
body {
  /* margin: 0 auto; */
  box-sizing: border-box;
  max-height: 100vh;
  margin-left: 0;
  max-width: 100vw;
}

main {
  width: auto;
}
header {
  position: relative;
  top: -2%;
  background-color: #1d7eb1;
  color: #fff;
  height: 50px;
  width: 100%;
  padding: 10px;
  overflow: hidden;
}

.logo {
  position: relative;
  height: 30px;
  top: 10px;
  margin-left: 2%;
}
.cvm {
  position: absolute;
  top: 0;
  left: 13%;
  font-size: 22px;
}
.about {
  color: white;
  font-size: 14px;
  text-decoration: none;
  box-sizing: border-box;
  position: relative;
  float: right;
  cursor: pointer;
  white-space: nowrap;
  vertical-align: baseline;
  text-align: center;
  margin: 5px 20px;
  min-width: 60px;
  line-height: 36px;
  padding: 0 16px;
  overflow: visible;
}

.about:hover {
  background-color: #1c6c97;
}

.top {
  width: 100%;
  margin: 0 auto;
  margin-bottom: 30px;
}

.top-image {
  width: 560px;
  height: 279px;
  margin-left: 50px;
}

.login-container {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  width: 95%;
  padding: 10px 10px 10px 10px;
}
.frm {
  text-align: center;

  margin: 10px 0 0 0px;

  width: 30%;
}
form {
  text-align: center;
  font-size: 16px;
  width: 50%;
  margin-left: 80px;
  /* adjust form width as needed */
}

.bg_image {
  width: 60%;
}

input[type="text"],
input[type="password"] {
  display: block;
  width: 180px;
  height: 45px;
  border: none;
  margin-bottom: 20px;
  border-bottom: 1px solid rgb(118, 118, 118);
}

input::placeholder {
  color: rgb(187, 184, 184);
  font-style: normal;
  font-size: 16px;
  font-family: Arial, sans-serif;
  text-align: justify;

  transition: transform 0.4s ease-out, font-size 0.4s ease-in-out;
}

input:focus {
  outline: none;
  transform: translateX(15px);

  border-bottom: 2px solid #3f51b5;
  transition: transform 0.4s ease-out, font-size 0.4s ease-in-out;
}

input:focus::placeholder {
  transform: translateY(-15px);
  font-size: 12px;
  transition: transform 0.4s ease-out, font-size 0.4s ease-in-out;
}

.buttons {
  display: flex;
  flex-direction: row;
  text-align: center;
  width: 100%;
  justify-items: center;
  margin: -5px;
}

.buttons a {
  text-align: center;
}

.login {
  background-color: #fff;
  color: rgb(118, 118, 118);
  text-align: center;
  font-size: 14px;
  margin: 4px 2px;
  cursor: pointer;
  width: 86px;
  height: 30px;
  padding-top: 12px;
  box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14),
    0 1px 5px 0 rgba(0, 0, 0, 0.12);
  border: none;
  border-radius: 2px;
  margin: 5px;
}

.register {
  border: none;
  border-radius: 2px;
  background-color: #1d7eb1;
  color: white;
  text-align: center;
  font-size: 14px;
  margin: 4px 2px 4px 5px;
  cursor: pointer;
  width: 86px;
  height: 30px;
  padding-top: 12px;
  box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14),
    0 1px 5px 0 rgba(0, 0, 0, 0.12);
}

.text {
  margin: 0 auto;
  width: 300px;
  height: 45px;
  padding: 25px 10px 0px 10px;
  text-align: center;
  justify-content: center;
  box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14),
    0 1px 5px 0 rgba(0, 0, 0, 0.12);
}
.down {
  display: flex;
  width: 95%;
  justify-content: center;
  padding: 10px;
}

.ghlb {
  display: flex;
}
.country {
  text-align: center;
  width: 160px;
  height: 220px;
  margin-left: 10px;
  margin-top: 10px;
  /* border: 1px solid black; */
  /* margin: 10px 5px; */

  padding: 10px;
  box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14),
    0 1px 5px 0 rgba(0, 0, 0, 0.12);

  /* box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2),
    0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12); */
}

.country p {
  font-size: 12px;
  font-weight: light;
}
.sync {
  font-size: 11px;
  font-family: Roboto, "Helvetica Neue", sans-serif;
}
.country img {
  width: 128px;
  height: 80px;
}
footer {
  padding: 0.5% 2%;
  margin-top: 5px;
  width: 97%;
  background-color: #f5f5f5;
  color: rgb(3, 3, 3);
  font-family: "Times New Roman", serif;
  text-align: center;
}

a {
  cursor: pointer;
  color: #fff;
  text-decoration: none;
}

/* Tabs */

@media only screen and (max-device-width: 920px) {
  header {
    top: 5px;
  }
  .cvm {
    margin-left: 60px;
    top: 5px;
  }
  .login-container {
    width: 90%;
    display: block;
    margin-left: 0px;
  }

  .buttons {
    width: 200px;
    margin: 0 auto;
    padding: 2px 0px 2px 20px;
    margin-left: 100px;
  }

  .top-image {
    width: 100%;
    margin: 0 auto;
    margin-left: 5%;
  }

  .frm {
    text-align: center;
    width: 95%;
    margin-top: 30px;
    margin-left: 50px;
  }

  form {
    margin-left: 150px;
    width: 60%;
  }

  input[type="text"],
  input[type="password"] {
    margin: 10px 50px 10px 80px;
    display: block;
    width: 65%;
    height: 45px;
    font-size: 14px;
    margin-bottom: 20px;
    border: none;
    border-bottom: 1px solid rgb(118, 118, 118);
  }

  .text {
    margin-left: 210px;
  }
}

/* mobile phones */

@media only screen and (max-device-width: 700px) {
  body {
    width: 100vw;
    margin: 0 auto;
  }

  header {
    width: 98%;
    margin-left: 0;
    padding-top: 20px;
  }

  .cvm {
    margin-left: 105px;
    top: 10px;
  }

  main {
    width: 100%;
  }

  .login-container {
    width: 90%;
    display: block;
    margin-left: 0px;
  }

  .buttons {
    width: 200px;
    margin: 0 auto;
    padding: 2px 0px 2px 20px;
    margin-left: 60px;
  }

  .top-image {
    width: 100%;
    margin: 0 auto;
    margin-left: 2%;
  }

  .frm {
    width: 100%;
    margin-top: 30px;
    margin-left: 0px;
  }

  form {
    margin-left: 0px;
    width: 85%;
  }

  input[type="text"],
  input[type="password"] {
    margin: 10px 50px 10px 80px;
    display: block;
    width: 65%;
    height: 45px;
    margin-bottom: 20px;
    border: none;
    border-bottom: 1px solid rgb(118, 118, 118);
  }

  .text {
    margin-left: 20px;
  }

  .down {
    display: block;
    width: 90%;
  }

  .ghlb {
    display: flex;
    margin-left: 0;
  }

  .single {
    width: 145px;
  }

  footer {
    width: 96%;
  }
}
